﻿using System;

namespace SHKF.B2C.MeiTuanPeiSong.Network
{
    public class OpenApiConfig
    {
        /// <summary>
        /// 正式账号 appkey，用于线上环境真实发单
        /// </summary>
        public static String Formal_App_Key = "0ece4bdf9ecb4d4a80792f98ba85a6a9";

        /// <summary>
        /// 正式账号 secret，用于线上环境真实发单
        /// </summary>
        public static String Formal_Secret = "ZMc[4t&fr$<d[4yjs!9PZMf)k7`D{mN#5Wg6o2MSw~S{vT?xV#@I,oH;1]0IvTE0";

        /// <summary>
        /// 测试账号 appkey，用于线上环境联调测试
        /// </summary>
        public static String Test_APP_KEY = "006f90c83b974e03ba7412db4eca5feb";

        /// <summary>
        ///  测试账号 secret，用于线上环境联调测试
        /// </summary>
        public static String Test_SECRET = "/^W]vT.}}KI7XghQ9=y[2K1Z&+yCi}Pk/2Ydzk}[NR/8`5!^@~&BwI$PMn7v6tH1";

        public static string APP_KEY
        {
            get
            {
                if (Enum == "Test")
                {
                    return Test_APP_KEY;
                }
                else
                {
                    return Formal_App_Key;
                }
            }
        }

        public static string SECRET
        {
            get
            {
                if (Enum == "Test")
                {
                    return Test_SECRET;
                }
                else
                {
                    return Formal_Secret;
                }
            }
        }

        public static string Enum = "Test";

    }
}
